import request from "../utils/request";

//分页查询订单列表
export function getOrderList(dto) {
  return request({
    url: '/order/getOrderList',
    method: 'post',
    data: dto
  })

}

export function getOrder(oid) {
  return request({
    url: '/order/' + oid,
    method: 'get'
  })
}

export function delOrder(oid) {
  return request({
    url: '/order/' + oid,
    method: 'delete'
  })
}
